package com.zjj.learn.designmodel.pattern.builder.demo1;

/**
 * *** @author zjj_admin
 * *** 2022/4/7 21:40
 */
public class OfoBuilder extends Builder {

    @Override
    public void buildFrame() {
        bike.setFrame("碳纤维车架");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("橡胶车座");
    }

    @Override
    public Bike createBike() {
        return super.bike;
    }


}
